<template>
  <div id="app">
    
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'
import {getList} from './api/test'
export default {
  name: 'App',
  components: {
    HelloWorld
  },
  created() {
    // getList().then(res=>{
    //   console.log(res);
    // })
    this.$get('https://api-hmugo-web.itheima.net/api/public/v1/goods/qsearch',{query:'创维'}).then(res=>{
      console.log(res);
    })
  },
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
